package net.ericaro.neojavagen.expressions ;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;

import net.ericaro.neojavagen.expressions.ExclusiveOrExpression ;

import net.ericaro.neojavagen.StringUtils;
		
/**
* <pre> InclusiveOrExpression :  ExclusiveOrExpression | ExclusiveOrExpression | ...  
*/
public class InclusiveOrExpression extends ArrayList<ExclusiveOrExpression>  {
	
	public InclusiveOrExpression(){
		super();
	}
	
	public InclusiveOrExpression(ExclusiveOrExpression ... components){
		this(Arrays.asList(components) );
	}
	public InclusiveOrExpression(Collection<ExclusiveOrExpression> values ){
		super(values);
	}
	
	
	public String toString(){
		return StringUtils.toString(this, "|", "", "");
	}

}
